package com.geovis.emergency.spd.biz.basic.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.geovis.emergency.spd.entity.basic.entity.BasicDutyOrg;
import com.geovis.emergency.spd.entity.basic.pojo.dto.BasicDutyOrgTreeDTO;
import com.geovis.emergency.spd.entity.basic.pojo.vo.BasicDutyOrgVO;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 基础模块-组织架构服务类
 * </p>
 *
 * @author Lonsho
 * @version 1.0
 * @date 2022/6/28
 */
public interface IBasicDutyOrgService extends IService<BasicDutyOrg> {

    /**
     * 批量删除
     *
     * @param idList 批量删除的id数组
     */
    void removeByIdList(Set<String> idList);

    /**
     * 树形列表
     * @param search
     * @return
     */
    List<BasicDutyOrgVO> selectList(BasicDutyOrgTreeDTO search);

}
